home *** CD-ROM | disk | FTP | other *** search
/ 3D GFX / 3D GFX.iso / amiutils / i_l / irit5 / illustrt / program.h < prev    next >
C/C++ Source or Header  |  1995-12-30  |  1KB  |  45 lines

  1. /*****************************************************************************
  2. * Definitions for the Illustrate program:                     *
  3. *****************************************************************************/
  4.  
  5. #ifndef ILLUSTRATE_H
  6. #define ILLUSTRATE_H
  7.  
  8. #include "irit_sm.h"
  9. #include "genmat.h"
  10. #include "iritprsr.h"
  11. #include "attribut.h"
  12. #include "allocate.h"
  13. #include "cagd_lib.h"
  14. #include "symb_lib.h"
  15.  
  16. #define DEFAULT_MAX_LINE_LEN        0.05
  17. #define DEFAULT_TRIM_INTERSECT        0.03
  18.  
  19. #define WIDEN_END_START            1
  20. #define WIDEN_END_END            2
  21.  
  22. #define INTER_SAME_Z            0.03
  23.  
  24. extern RealType
  25.     GlblInterSameZ,
  26.     GlblTrimIntersect;
  27. extern int
  28.     GlblAngularDistance,
  29.     GlblVertexPoints,
  30.     GlblSplitLongLines;
  31.  
  32. /* Illustrt module prototypes: */
  33. void IllustrateExit(int ExitCode);
  34.  
  35. /* Intersct module prototypes: */
  36. void ProcessIntersections(IPObjectStruct *PObjects);
  37. RealType SegmentLength(IPVertexStruct *V);
  38.  
  39. /* SpltSort module prototypes: */
  40. void SplitLongLines(IPObjectStruct *PObjects, RealType MaxLen);
  41. void RemoveInternalVertices(IPObjectStruct *PObj);
  42. void SortOutput(IPObjectStruct **PObjects);
  43.  
  44. #endif /* ILLUSTRATE_H */
  45.